from conans import ConanFile

class TauConan(ConanFile):
    name = "tau"
    generators = "markdown", "json", "pkg_config", "MesonToolchain"
    settings = "os", "build_type", "compiler", "arch"

    def requirements(self):
        if not self.settings.os == "Windows":
            self.requires("flex/2.6.4")
            self.requires("bison/3.7.6")
        else:
            self.requires("winflexbison/2.5.24")
        self.requires("llvm-core/12.0.0")
        self.requires("llvm-openmp/12.0.1")
        self.requires("emsdk/2.0.31")
